IritTrivarToCubicBzrCrvs

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

IritTrivarToCubicBzrCrvs()  

SYNOPSIS

prsr_lib/ip_cnvrt.c:1043

CagdCrvStruct *IritTrivarToCubicBzrCrvs(TrivTVStruct *Trivar,
                                          IPPolygonStruct **CtlMeshes,
                                          CagdBType DrawSurface,
                                          CagdBType DrawMesh,
                                          int NumOfIsolines[2],
                                          CagdRType MaxArcLen)
 

DESCRIPTION

Routine to convert a single trivariate function into polylines with SamplesPerCurve samples, NumOfIsolines isolines into a polylines object. If NumOfIsolines has negative value, its absolute value is heuristically used to derive a new NumOfIsolines number for it. If Optimal, attempt is made to optimally distribute the sampled points.  

PARAMETERS:

Trivar: To approximate as a set of cubic bezier curves.

CtlMeshes: If we want control meshes as well (DrawMesh == TRUE) they will be placed herein.

DrawTrivar: Do we want to draw the trivariate function?

DrawMesh: Do we want to draw the control meshes?

NumOfIsolines: Number of isocurves to extract, in each direction.

MaxArcLen: Tolerance for cubic Bezier approximation. See function BzrApproxBzrCrvAsCubics.  

FUNCTION RETURN VALUE

CagdCrvStruct *: A list of curves approximating Trivar.

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:12 GMT, October 17, 2022